from flask import request
from . import carbon_images_bp
from controller.carbon_images_controller import GetImagesData


@carbon_images_bp.route('/carbon_emission', methods=['POST'])
def carbon_emission():
    return GetImagesData.get_carbon_emission(request)


@carbon_images_bp.route('/carbon_exchange_all', methods=['POST'])
def carbon_exchange_all():
    return GetImagesData.get_carbon_exchange_all(request)


@carbon_images_bp.route('/carbon_exchange', methods=['POST'])
def carbon_exchange():
    return GetImagesData.get_carbon_exchange(request)



